//
//  FoundView.swift
//  Jock
//
//  Created by HD on 15/4/3.
//  Copyright (c) 2015年 Haidy. All rights reserved.
//

import UIKit

class FoundView: UIButton {
    
    var nearbyButton: FoundButton!
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        initView()
    }
    
    private func initView() {
        nearbyButton = ViewUtil.instanceView("FoundButton") as! FoundButton
        nearbyButton.frame = CGRectMake(0, 100, self.frame.width, 72)
        self.addSubview(nearbyButton)
    }

    required init(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    

}
